﻿using System;
using System.Linq;

namespace QTMusic.Websites
{
    public partial class Error : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //if (Request.UrlReferrer != null)
            //{
            //    lnkPreviousPage.Visible = true;
            //    lnkPreviousPage.NavigateUrl = Request.UrlReferrer.ToString();
            //}
            //else
            //{
            //    lnkPreviousPage.Visible = false;
            //}
            lnkPreviousPage.NavigateUrl = Request.RawUrl;
            lnkHomePage.NavigateUrl = "Default.aspx";
        }
    }
}